import { createRouter, createWebHashHistory } from "vue-router";

// 制定路由规则
const routes = [
   {
      path: '/anmain',
      name: 'AntiFakeMain',
      component: () => import("@/views/AntiFakeMain.vue"),
   },
   {
      path: '/anlogin',
      name: 'AntiFakeLogin',
      component: () => import("@/views/AntiFakeLogin.vue"),
   },
   {
      path: '/anthree',
      name: 'AntiFakeThree',
      component: () => import("@/views/AntiFakeThree.vue"),
   },
   {
      path: '/anfours',
      name: 'AntiFakeFours',
      component: () => import("@/views/AntiFakeFours.vue"),
   },
   {
      path: '/anfive',
      name: 'AntiFakeFive',
      component: () => import("@/views/AntiFakeFive.vue"),
   }
];

/**创建路由 */
const router = createRouter({
   // 设置路由模式 
   history: createWebHashHistory(),
   routes,
});

export default router;